<template>
  <div>
    <h2>学校名称：{{name}}</h2>
    <h2>学校地址：{{address}}</h2>
    <button @click="showName">点我显示学校姓名</button>
  </div>
</template>

<script>
import {mixin} from "../mixin";
export default {
     name:"School",
     data() {
        return {
            name:'尚硅谷',
            address:'赛迪科技园'
        }
     },
     mixins:[mixin] 
}
</script>

<style>

</style>